package cn.yanjr.system.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import cn.yanjr.system.entity.SysDict;


public interface SysDictService {
	
	public List<SysDict> findAllType();
	
	public List<SysDict> findByType(String type);
	
	public SysDict get(String id);
	
	public int save(SysDict task);
	
	public int delete(String id);
	
	public int update(SysDict task);
	
	/**
	 * 分页查询
	 * @param param
	 * @return
	 */
	public Map<String, Object> queryPage(Map<String, Object> param);
}
